<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="/video/video-js.css" rel="stylesheet">

    <!-- If you'd like to support IE8 -->
</head>
<body>
    <!--&lt;!&ndash;<video src="http://buluoquan.aladada.com/recordings/recordings/z1.buluoquan.59dc39ff128fe1529c8c0af7/0_1507609557.m3u8" width="1280" height="720"></video>&ndash;&gt;-->
    <!--<video width="1280" height="720"  controls="controls" preload="none">-->
        <!--<source type="video/mp4" src="http://buluoquan.aladada.com/recordings/z1.buluoquan.59dc39ff128fe1529c8c0af7/0_1507609557.m3u8" />-->
        <!--&lt;!&ndash;<source type="video/webm" src="http://buluoquan.aladada.com/recordings/z1.buluoquan.59dc39ff128fe1529c8c0af7/0_1507609557.m3u8"/>&ndash;&gt;-->
        <!--&lt;!&ndash;<source type="video/ogg" src="http://buluoquan.aladada.com/recordings/z1.buluoquan.59dc39ff128fe1529c8c0af7/0_1507609557.m3u8" />&ndash;&gt;-->
    <!--</video>-->
    <video id="example-video" width=600 height=400 class="video-js vjs-default-skin" controls>

        <% if (result.status == "2"){%>
        <source src="http://pili-live-hls.141cn.com/buluoquan/<%= result.objectId%>.m3u8"
                type="application/x-mpegURL"
        >

        <%}else if(result.isRecord==2&&result.streambackup && result.streambackup!=='undefined'){%>

        <source src="http://buluoquan.aladada.com/<%= result.streambackup%>"
        >
        <%}else if(result.isRecord!=2&&result.streambackup && result.streambackup!=='undefined'){%>

        <source src="http://buluoquan.aladada.com/<%= result.streambackup%>"
                type="application/x-mpegURL"
        >

        <%} else {%>
        <source src="http://10004zw.playback1.z1.pili.qiniucdn.com/buluoquan/<%= result.objectId%>.m3u8?start=0&end=0"
                type="application/x-mpegURL"
        >

        <%}%>
    </video>

    <script src="/video/video.js"></script>
    <script src="/video/videojs-contrib-hls.js"></script>
    <script>
        var player = videojs('example-video');
        player.play();
    </script>
</body>
</html>